package com.obtk.property.service;

import com.github.pagehelper.Page;
import com.obtk.property.pojo.Community;

import java.util.List;
import java.util.Map;

public interface CommunityService {
    List<Community> findAll();

    Page<Community> search(Map searchMap);
    public Boolean add(Community community);

    public Community findById(Integer communityId);

    public Boolean update(Community community);

    public Boolean updateStatus(String status, Integer communityId);

    public Boolean del(List<Integer> ids);
}
